.top-nav{
    width: 100%;
    height: 30px;
    background: #f2f2f2;
    border-bottom: 1px solid #777;
}
.top-nav .row{
    width: 1200px;
    height: 30px;
    margin: 0 auto;
    /* justify-content: space-around; */
}

.top-nav .row li{
    height: 30px;
    line-height: 30px;
    padding-right: 10px;
    cursor: pointer;
}

.top-nav .row li:hover{
    color: #fF7000;
}
.top-nav .row li.space{
    flex-grow: 1;
}

.main {
    width: 1200px;
    margin: auto;
    background: #fff;
}
.top-search{
    display: flex;
    width: 100%;
    height: 120px;
}
.top-search img{
    width: 150px;
    height: 60px;
    margin-top: 29px;
    margin-left: 17px;
}
.serch-box{
    max-width: 580px;
    flex-grow: 1;
    margin-top: 45px;
    border: 2px solid #5f8b2f;
    height: 32px;
    margin-left: 40px;
    margin-left: 120px;
    margin-right: 40px;
    overflow: hidden;
    display: flex
}

.serch-box input{
    border: 0;
    height: 32px;
    font-size: 16px;
    margin: 0;
    /* 清楚input输入状态边框 */
    outline: none;
    flex-grow: 1;
    padding-left: 32px;
    background-image: url(../images/icons.png);
    background-repeat: no-repeat;
    background-position: 8px -340px;
}

.serch-box span{
    width: 120px;
    height: 32px;
    line-height: 32px;
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    text-align: center;
    background-color: #5f8b2f;
}

.cart-box{
    width: 200px;
    height: 34px;
    display: flex;
    margin-top: 45px;
}

.cart-box .cart-text{
    width: 162px;
    height: 34px;
    border: 1px solid #f2f2f2;
    font-weight: bold;
    color: #5f8b2f;
    text-align: center;
    background-image: url(../images/icons.png);
    background-repeat: no-repeat;
    background-position: 2px -305px;
    /* margin-top: 40px; */
}

.cart-box .cart-num{
    background-color: #fF7000;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}

.cate-titbox{
    width: 100%;
    height: 40px;
    border-bottom: 2px solid #5f8b2f;
}

.cate-titbox .cate{
    display: flex;
    width: 1200px;
    margin: 0 auto;
    height: 40px;
}

.cate-titbox .cate h2{
    padding: 0;
    margin: 0;
    width: 200px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: #5f8b2f;
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.cate-titbox .cate li{
    line-height: 40px;
    margin: 0 10px;
    cursor: pointer;
}

.cate-titbox .cate li:hover{
    color: #fF7000;
}

.slider-box{
    margin: 0 auto;
    width: 1200px;
    height: 273px;
    display: flex;
}

.slider-box .ul{
    min-width: 200px;
    height: 270px;
}

.slider-box ul li{
    height: 45px;
    width: 198px;
    border: 1px solid #e2e2e2;
    border-top: 0;
    text-align: center;
    cursor: pointer;
    line-height: 45px;
    font-size: 16px;
    color: black;
    position: relative;
}

.slider-box ul li::after{
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid #e2e2e2;
    border-right: 2px solid #e2e2e2;
    transform: rotate(45deg);
    top: 16px;
    right: 16px;
}

.slider-box ul li:hover{
    color: #ff7000;
}

.slider-box ul li:nth-child(1){
    background: url(../images/icons.png) no-repeat;
    background-position: 8px 0;
}

.slider-box ul li:nth-child(2){
    background: url(../images/icons.png) no-repeat;
    background-position: 8px -44px;
}

.slider-box ul li:nth-child(3){
    background: url(../images/icons.png) no-repeat;
    background-position: 8px -88px;
}

.slider-box ul li:nth-child(4){
    background: url(../images/icons.png) no-repeat;
    background-position: 8px -132px;
}

.slider-box ul li:nth-child(5){
    background: url(../images/icons.png) no-repeat;
    background-position: 8px -176px;
}

.slider-box ul li:nth-child(6){
    background: url(../images/icons.png) no-repeat;
    background-position: 8px -220px;
}

.slider-box .slider{
    flex-grow: 1;
    position: relative;
}

.slider .arrow-left{
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid #e2e2e2;
    border-right: 0;
    border-bottom: 0;
    transform: rotate(-45deg);
    left: 20px;
    top: 45%;
    cursor: pointer;
}

.slider .arrow-right{
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid #e2e2e2;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(45deg);
    right: 20px;
    top: 45%;
    cursor: pointer;
}

.slider-box .slider img{
    width: 100%;
    height: 273px;
}

.slider-box .adver{
    width: 300px;
    background: #fF7000;
    overflow: hidden;
}

.g-tit{
    width: 1200px;
    height: 40px;
    line-height: 40px;
    border-bottom: 2px solid #5f8b2f;
    display: flex;
    margin: 0 auto;
    margin-top: 20px;
}

.g-tit .tit{
    padding: 0 10px;
    font-size: 16px;
    color: #5f8b2f;
}

.g-tit>div{
    font-size: 14px;
    padding: 0 10px;
    color: Gray;
}

.g-tit .space{
    flex-grow: 1;
}

.g-list{
    width: 1200px;
    margin: 0 auto;
    display: flex;
}

.g-list .g-cate{
    width: 200px;
    height: 300px;
    background: url(../images/banner01.jpg)no-repeat;
}

.g-list .g-goods{
    width: 249px;
    height: 299px;
    border: 1px solid #e2e2e2;
    border-top: 0;
    border-left: 0;
}

.g-list .g-goods .tit{
    height: 70px;
    font-size: 18px;
    text-align: center;
    line-height: 70px;
}

.g-list .g-goods img{
    width: 180px;
    height: 180px;
    margin: 10px 37px;
}

.g-list .g-goods .price{
    font-weight: bold;
    font-size: 20px;
    color: red;
    text-align: center;
    line-height: 20px;
    height: 50px;
}
/* 海鲜水产 */

.g-list .g-w{
    width: 200px;
    height: 300px;
    background: url(../images/banner02.jpg)no-repeat;
}
/* 肉食chanpin */

.g-list .g-c{
    width: 200px;
    height: 300px;
    background: url(../images/banner03.jpg)no-repeat;
}
/* 禽类蛋品 */

.g-list .g-d{
    width: 200px;
    height: 300px;
    background: url(../images/banner04.jpg)no-repeat;
}
/* 新鲜蔬菜 */

.g-list .g-a{
    width: 200px;
    height: 300px;
    background: url(../images/banner05.jpg)no-repeat;
}
/* 速冻食品 */

.g-list .g-v{
    width: 200px;
    height: 300px;
    background: url(../images/banner06.jpg)no-repeat;
}